package org.zs.miracle.entity.system;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serial;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.zs.miracle.common.base.entity.AbstractBaseEntity;

/**
 * 角色表
 */
@EqualsAndHashCode(callSuper = false) @Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_role")
public class RoleEntity extends AbstractBaseEntity {
  
  @Serial
  private static final long serialVersionUID = -8866939458137795129L;
  
  /**
   * 图标
   */
  private String icon;
  
  /**
   * 角色名称
   */
  private String name;
  
  /**
   * 备注
   */
  private String remark;
  
  /**
   * 启用状态
   */
  private Boolean enable;
  
  /**
   * 角色编码
   */
  private String code;
}